﻿using System;

namespace BCDto.TMS.Order.OrderAssignRecord
{
    public class OrderAssignRecordDto
    {
        /// <summary>
        /// 订单指派记录Id
        /// </summary>
        public long OrderAssignRecordId { get; set; }
        /// <summary>
        /// 订单Id
        /// </summary>
        public long OrderId { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo { get; set; }
        /// <summary>
        /// 管理员Id
        /// </summary>
        public long AdminId { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public int DepartmentId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public int CompanyId { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// 已指派(0未指派 1已指派)
        /// </summary>
        public bool IsAssign { get; set; }
        /// <summary>
        /// 指派未指派原因
        /// </summary>
        public string Reason { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 车辆ID
        /// </summary>
        public long VehicleId { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string VehicleNo { get; set; }
        /// <summary>
        /// 司机Id
        /// </summary>
        public long DriverId { get; set; }
        /// <summary>
        /// 司机姓名
        /// </summary>
        public string DriverName { get; set; }
        /// <summary>
        /// 是否已接单
        /// </summary>
        public bool IsOrderReceive { get; set; }
        /// <summary>
        /// 接单时间
        /// </summary>
        public DateTime ReceiveTime { get; set; }
        /// <summary>
        /// 指派时间
        /// </summary>
        public DateTime AssignTime { get; set; }
        /// <summary>
        /// 指派超时时间
        /// </summary>
        public DateTime AssignTimeOut { get; set; }
        /// <summary>
        /// 指派人Id
        /// </summary>
        public long AssignEditerId { get; set; }
        /// <summary>
        /// 指派人姓名
        /// </summary>
        public string AssignEditer { get; set; }
    }
}
